<ui:composition template="./../WEB-INF/templates/public.xhtml"
                xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:myui="http://www.orpsn.com/jsf/facelet"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:rich="http://richfaces.org/rich"
                xmlns:a4j="http://richfaces.org/a4j">
    
    <ui:define name="title">
        Account Activation
    </ui:define>
    
    <ui:define name="top">
        <ui:include src="./../WEB-INF/templates/header.xhtml"/>
    </ui:define>
    
    <ui:define name="content">
        <rich:messages layout="table"/>
        <myui:label title="Account Activation" body="Click the below button to complete activation" />
        <br />
        <h:outputText value="User: #{param.username}" />
        <br />
        <a4j:commandButton value="Confirm" action="#{signup.validateActivationCode}">
            <f:param name="#{constant.common.REQ_ACTVTN_USERNAME}" value="#{param.username}" />
            <f:param name="#{constant.common.REQ_ACTVTN_CODE}" value="#{param.code}" />
        </a4j:commandButton>
    </ui:define>
    
    <ui:define name="bottom">
        <ui:include src="./../WEB-INF/templates/footer.xhtml"/>
    </ui:define>
    
</ui:composition>